package com.neusoft.hospital.mapper;
/**
 *
 * @author:杨浩杰
 * 接口 Cireport Mapper
 *
 */

import java.util.List;

import com.neusoft.hospital.pojo.CiReport;
import com.neusoft.hospital.pojo.Cidetailedreport;
import com.neusoft.hospital.service.CirService;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CirMapper {
	//select
	List<CiReport> findCirBySql();
	List<CiReport> findCirByName(String ciName);
	List<CiReport> findCirBycirid(int cirId);


	//insert
	CiReport findTaskByCiId(int ciId);
	int insertCir(CiReport cireport);

	//update
	int updateCir(CiReport cireport);


	//delete
	int deleteCir(CiReport cireport);


	//- 返回值：List（泛型：CiReport）
	//- 功能：根据体检预约编号查询检查项列表
	Cidetailedreport findcirByOid(int cidrId);
	List<CiReport> findcireport();


}